package com.ruoyi.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户通知表对象 userNotice
 *
 * @author ruoyi
 * @date 2022-02-04
 */
public class UserNotice extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 通知信息id
     */
    private Integer noticeID;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Integer userID;

    /**
     * 状态是否阅读
     */
    @Excel(name = "状态是否阅读")
    private Integer read;

    public void setNoticeID(Integer noticeID) {
        this.noticeID = noticeID;
    }

    public Integer getNoticeID() {
        return noticeID;
    }

    public void setUserID(Integer userID) {
        this.userID = userID;
    }

    public Integer getUserID() {
        return userID;
    }

    public void setRead(Integer read) {
        this.read = read;
    }

    public Integer getRead() {
        return read;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("noticeID", getNoticeID())
                .append("userID", getUserID())
                .append("read", getRead())
                .toString();
    }
}
